package com.iot.mapper;

import com.iot.domain.TeacherUser;
import com.iot.domain.TeacherUserVo;
import org.springframework.stereotype.Service;

@Service
public interface UserMapper {


    /*登录验证*/
    public TeacherUser login(TeacherUserVo teacherUser);

    /*注册用户*/
    public void  register (TeacherUserVo  teacherUser);

    /*根据手机号查询用户*/
    public TeacherUser  findUserByPhone(String phone);

    /*注销账户*/
    public  void  cancelUser(String phone);

}
